<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="{{ asset('/admins/css/bootstrap.min.css') }}" rel="stylesheet"> 
    <script src="{{ asset('/admins/js/jquery.min.js') }}"></script>
    <script src="{{ asset('/admins/js/bootstrap.min.js') }}"></script>
</head>
<body>
    <center>
        <div class="page-header">
           <h2>添加新用户
              <!-- <small>子标题</small> -->
           </h2>
        </div> 
        @if (count($errors) > 0)
          <div class="alert alert-danger">
              <ul>
                  @foreach ($errors->all() as $error)
                      <li>{{ $error }}</li>
                  @endforeach
            </ul>
            </div>
        @endif
    </center>
    <center>
        <div class="container-fluid">

            <form class="form-horizontal" role="form" action="/admin/userManager" method="post">
                {{ csrf_field() }}
               <div class="form-group">
                  <label for="inputName" class="col-sm-5 control-label">用户名：</label>
                  <div class="col-sm-2">
                    <input id="inputName" type="text" name="userName" />
                  </div>
               </div>
               <div class="form-group">
                  <label for="inputPassword" class="col-sm-5 control-label">密码：</label>
                  <div class="col-sm-2">
                    <input id="inputPassword" type="password" name="userPass" placeholder="密码必须大于等于6位"/>
                  </div>
               </div>
               <div class="form-group">
                  <label for="inputPass" class="col-sm-5 control-label">确认密码：</label>
                  <div class="col-sm-2">
                    <input id="inputPass" type="password" />
                  </div>
               </div>
               <div class="form-group">
                  <label for="inputPassword" class="col-sm-5 control-label">性别：</label>
                  <div class="col-sm-2">
                    <input id="inputSex" type='radio' name='userSex' value='1' checked="checked">男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input id="inputSex" type='radio' name='userSex' value='2'>女
                  </div>
               </div>
               <div class="form-group">
                  <label for="inputEmail" class="col-sm-5 control-label">邮箱：</label>
                  <div class="col-sm-2">
                    <input id="inputEmail" type="email" name="userEmail" />
                  </div>
               </div>
               <div class="form-group">
                  <label for="inputTel" class="col-sm-5 control-label">手机号：</label>
                  <div class="col-sm-2">
                    <input id="inputTel" type="text" name="userTel" placeholder="手机号11位"/>
                  </div>
               </div>

               <div class="form-group">
                  <div class="col-sm-offset-5 col-sm-2">
                     <button type="submit" class="btn btn-default">确认添加</button>
                  </div>
               </div>
            </form>
        </div>
    </center>

